package com.jy.controller;

import com.jy.entity.Job;
import com.jy.service.IJobService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @author Xiexingxie
 * @date 2022/11/11 下午 07:04
 */

@RestController
public class JobController {

    @Autowired
    private IJobService iJobService;

    @GetMapping("/icm-building")
    public List<Job> allSelect(){
        List list = iJobService.allSelect();
        return list;
    }

}
